<nav class="v6-m-nav">
    <ul class="v6-u-first-nav">
        <{foreach $smarty.session.menu as $item}>
        <li>
            <a class="u-first-level" href="<{$item['skip_address']}>">
                <i class="<{$item['icon_path']}>"></i>
                <{$item['name']}>
                <{if $item['children'] != null}>
                <span class="glyphicon glyphicon-chevron-down"></span>
                <{/if}>
            </a>
            <{if $item['children'] != null}>
            <ul class="v6-u-secend-nav">
                <{foreach $item['children'] AS $child}>
                <li><a class="u-second-level" href="<{$child['skip_address']}>"><{$child['name']}></a></li>
                <{/foreach}>
            </ul>
            <{/if}>
        </li>
        <{/foreach}>
    </ul>
</nav>